$(function() {
    //状态
    let postion = sessionStorage.getItem('postion');
    let identity = sessionStorage.getItem('identity');

    if (postion == "0" || identity == "0") {
        $('#Commontop').load('../assets/public/html/PublicLoginLogIn.html');
    } else if (postion == "1" || identity == "1") {
        $('#Commontop').load('../assets/public/html/PublicLoginLogIn.html');
    } else if (postion == "2" || identity == "2") {
        $('#Commontop').load('../assets/public/html/PublicLoginLogInStatus.html');
    } else {
        $('#Commontop').load('../assets/public/html/PublicLoginNotLogIn.html');
    };
});